﻿using System;
using System.Collections.Generic;
using HR60_PanelSoft.Model.BaseModel;

namespace HR60_PanelSoft.Model
{
    /// <summary>
    /// 面板类型
    /// </summary>
	public class PanelType
    {
		/// <summary>
		/// 名称
		/// </summary>
		public string name;

		/// <summary>
		/// 协议标识
		/// </summary>
		public string protocolTag;

		/// <summary>
		/// lpin数量
		/// </summary>
		public int lPinLen = 0;

		/// <summary>
		/// tpin数量
		/// </summary>
		public int tPinLen = 0;

		/// <summary>
		/// 是否有E++模块
		/// </summary>
		public bool hasEplusModel = false;

		/// <summary>
		/// 是否有485线路
		/// </summary>
		public bool hasM485Model = false;

		/// <summary>
		/// 是否有外部信号
		/// </summary>
		public bool hasSignalModel = false;

		/// <summary>
		/// 是否有界面样式
		/// </summary>
		public bool hasStyle = false;

		/// <summary>
		/// 最多多少按钮页
		/// </summary>
		public int maxPage = 0;

		/// <summary>
		/// 最多多少场景页
		/// </summary>
		public int maxScenePage = 0;

		/// <summary>
		/// 每页有多少按钮
		/// </summary>
		public int buttonsPerPage = 0;

		/// <summary>
		/// 是否有高级控制页面
		/// </summary>
		public bool hasExPage = false;
    }
}
